package org.meruvian.yama.service;

import org.meruvian.yama.Item;
import org.meruvian.yama.persistence.EntityListWrapper;

public interface ItemService {
	
	Item saveItem(Item item);
	
	Item getItemsById(String id);

	EntityListWrapper<Item> findItems(String name, String description,
			String orderby, String order, int max, int page);

	EntityListWrapper<Item> findItems(String field, int max,
			String orderBy, String order, int page);

}
